package com.example.understandvideo.service.transcode;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.util.List;

@XmlRootElement(name = "timesliceclipping")
@XmlType(propOrder = {"enabled"
        , "trimmed"
        , "timeslice"})
public class TimeSliceClipping {
    private String enabled;
    private String trimmed;
    private List<TimeSlice> timeslice;
    public TimeSliceClipping() {
    }

    public TimeSliceClipping(String enabled, String trimmed, List<TimeSlice> timeslice) {
        this.enabled = enabled;
        this.trimmed = trimmed;
        this.timeslice = timeslice;
    }

    @XmlElement(name = "enabled")
    public String getEnabled() {
        return enabled;
    }

    public void setEnabled(String enabled) {
        this.enabled = enabled;
    }

    @XmlElement(name = "trimmed")
    public String getTrimmed() {
        return trimmed;
    }

    public void setTrimmed(String trimmed) {
        this.trimmed = trimmed;
    }

    @XmlElement(name = "timeslice")
    public List<TimeSlice> getTimeslice() {
        return timeslice;
    }

    public void setTimeslice(List<TimeSlice> timeslice) {
        this.timeslice = timeslice;
    }
}
